import request from '@/utils/request';

export async function currentUser() {
  return request('/api/currentUser');
}

export async function getUser(params) {
  return request('/api/getUser', {
    method: 'GET',
    params,
  });
}
